var json_team_info="{team_info:[{'name':'tottenham','team_img':'tottenham.png','team_img_home':'home.png','team_img_client':'client.png'}]}";

var json_people_info="{people_info:[{'name':'Lloris','img_url':'1-Lloris.jpg'},{'name':'Dawson','img_url':'5-Dawson.jpg'},{'name':'Cahill','img_url':'6-Cahill.jpg'},{'name':'Vertonghen','img_url':'3-Vertonghen.jpg'},{'name':'Naughton','img_url':'2-Naughton.jpg'},{'name':'Parker','img_url':'8-Parker.jpg'},{'name':'Jenas','img_url':'4-Jenas.jpg'},{'name':'Lennon','img_url':'7-Lennon.jpg'},{'name':'DiMaria','img_url':'17-DiMaria.jpg'},{'name':'Bale','img_url':'11-Bale.jpg'},{'name':'Defoe','img_url':'18-Defoe.jpg'}]}";

json_people_size_4_4_2="{people_size:[{'left':'20px','top':'160px'},{'left':'100px','top':'112px'},{'left':'100px','top':'208px'},{'left':'180px','top':'50px'},{'left':'180px','top':'270px'},{'left':'240px','top':'190px'},{'left':'260px','top':'130px'},{'left':'330px','top':'250px'},{'left':'340px','top':'40px'},{'left':'400px','top':'180px'},{'left':'420px','top':'105px'}]}";

var json_data;
$(function(){
	json_data = eval(json_team_info);
	$.each(json_data,function(num,data){
		$("#team_img img").attr("src","img/"+data.team_img);
		$("#team_img_home img").attr("src","img/"+data.team_img_home);
		$("#team_img_client img").attr("src","img/"+data.team_img_client);
	});

	json_data = eval(json_people_info);
	$.each(json_data,function(num,data){
		num = num + 1;
		$("#peolpe_num_"+num).css("background","url(img/"+data.img_url+")");
		$("#peolpe_num_"+num).addClass(data.name);
	});

	json_data = eval(json_people_size_4_4_2);
	$.each(json_data,function(num,data){
		num = num + 1;
		$("#peolpe_num_"+num).css("left",data.left);
		$("#peolpe_num_"+num).css("top",data.top);
	});
});
